//
//  YBMineEditInfoVC.swift
//  Moonlight
//
//  Created by Penlon Kim on 2023/6/30.
//  Copyright © 2023 Moonlight Game Streaming Project. All rights reserved.
//

import UIKit
import SnapKit

class YBMineEditInfoVC: BaseVC {
    
    // MARK: Lifecycle
    override func viewDidLoad() {
        super.viewDidLoad()
        
        navigation.item.title = "编辑用户名"
        view.backgroundColor = .lightGray242Dark17
        
        view.addSubview(kTextField)
        kTextField.snp.makeConstraints { make in
            make.left.right.equalToSuperview()
            make.top.equalTo(kNavigationBarHeight+10)
            make.height.equalTo(55)
        }
        
    }
    
    // MARK: - lazy
    private lazy var kTextField: UITextField = {
        let tf = UITextField()
        tf.borderStyle = .none
        tf.bk_addCornerBorder(radius: 4, borderWidth: 0.1, borderColor: .clear)
        tf.bk_addBlankLeftView(width: 20)
        tf.bk_addPlaceholder("请输入")
        tf.backgroundColor = .lightWhiteDark27
        tf.textColor = .lightBlack51DarkLight230
        tf.textAlignment = .left
        tf.font = .systemFont(ofSize: 15)
        tf.clearButtonMode = .whileEditing
        tf.bk_addTarget { [unowned self] tf in
            
        }
        return tf
    }()
    
}
